/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Biz;

import Dao.PathologyDAO;
import Entity.Report;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author cgzf
 */
public class ReportBO {
    
      public List<Report> getReport() throws SQLException {
        return new PathologyDAO().getAllReport();
    }
      
         public void addReport(int patientID, int staffID, int doctorID, int testID, String report,String comment) throws SQLException, ClassNotFoundException, Exception {
        new PathologyDAO().AddReport(patientID,staffID,doctorID,testID,report,comment);
    }
           public void editReport(int reportID,String report) throws SQLException, ClassNotFoundException, Exception {
              new PathologyDAO().EditReport(reportID,report);
    }
           
            public void editComment(int reportID,String comment) throws SQLException, ClassNotFoundException, Exception {
              new PathologyDAO().EditComment(reportID,comment);
    }
    
}
